﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SiteDoc>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%=Model.Title %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="articleContentWrap">
        <div class="grid_17">
            <div class="columnBox">
                <div class="position">
                    您所在的位置： <a href="<%=Url.Action("Index","Home") %>">首页</a> &gt; <a href="<%=Url.Action("Index","News") %>">
                        新闻资讯</a> &gt;正文</div>
                <div class="article">
                    <h3>
                        <% =Model.Title %>
                    </h3>
                    <div class="tags">
                        发布时间：<%=Model.CreatedOn.ToString("yyyy-MM-dd hh:mm:ss") %><%--2010-4-5 12:31:18--%>
                        | 来源：<%=Model.Source %>
                        | 编辑：<%=Model.CreatedBy %>
                        | 访问人次：<%=Model.ViewCount %>
                        | 发表评论(0)</div>
                    <div class="articleText">
                        <%=Model.Details %>
                    </div>
                </div>
            </div>
        </div>
        <div class="grid_7" id="sideColumn">
            <div class="banner270px">
                <a href="#">
                    <img src="../../content/images/banner/banner270x120.jpg" alt="banner270" border="0" /></a></div>
            <div class="columnBox">
                <div class="title">
                    <h2>
                        一周点击排行</h2>
                </div>
                <div class="pad">
                    <% Html.RenderAction<NewsController>(x => x.ViewCountList(7, 10)); %>
                </div>
            </div>
            <div class="columnBox">
                <div class="title">
                    <h2>
                        一月点击排行</h2>
                </div>
                <div class="pad">
                    <% Html.RenderAction<NewsController>(x => x.ViewCountList(30, 10)); %>
                </div>
            </div>
            <div class="columnBox">
                <div class="title">
                    <h2>
                        一季点击排行</h2>
                </div>
                <div class="pad">
                    <% Html.RenderAction<NewsController>(x => x.ViewCountList(90, 10)); %>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
